package com.wen.bean;

/**
 * 实体类
 * 要求：属性名和数据库的字段名保持一致
 * 如果不保持一致，则需要在mybatis的mapper映射文件自主配置
 * @author Healer
 */
public class Blog {
    private Integer id;
    private String title;
    private Integer author_id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(Integer author_id) {
        this.author_id = author_id;
    }

}
